package kr.co.m2soft.model.elements
{
	import kr.co.m2soft.model.BaseModel;
	import kr.co.m2soft.model.IBaseModelParser;

	public class FA extends BaseModel implements IBaseModelParser
	{
		private var _eid:int;
		private var _fc:String = "#000000";
		private var _al:Number = 0;
		private var _pt:int = 0;
		
		public function FA()
		{
		}
		
		public function parser():void
		{
			_eid = dataProvider.@id;
			_fc = dataProvider.hasOwnProperty("@fc") ? dataProvider.@fc : _fc;
			_al = dataProvider.hasOwnProperty("@al") ? dataProvider.@al : _al;
			_pt = dataProvider.hasOwnProperty("@pt") ? dataProvider.@pt : _pt;
		}
		
		public function get eid():int
		{
			return _eid;
		}

		public function set eid(value:int):void
		{
			_eid = value;
		}
		
		[Inspectable(defaultValue="#000000" )]
		public function get fc():String
		{
			return _fc;
		}

		public function set fc(value:String):void
		{
			_fc = value;
		}
		
		[Inspectable(enumeration="0,1", defaultValue="0" )]
		public function get al():Number
		{
			return _al;
		}

		public function set al(value:Number):void
		{
			_al = value;
		}
		
		public function get pt():int
		{
			return _pt;
		}
		
		[Inspectable(enumeration="0,1,2,3,4,5,6,7,8,9", defaultValue="0" )]
		public function set pt(value:int):void
		{
			_pt = value;
		}


	}
}